package com.gusti.admincasa.dto;

/**
 * 
 * @author gusti
 *
 */
public class TimeRegisterDto {

	private String computerName;
	private String startDate;
	private String endDate;

	/**
	 * 
	 * @param computerName
	 * @param startDate
	 * @param endDate
	 */
	public TimeRegisterDto( String computerName, String startDate, String endDate ) {
		super();
		this.computerName = computerName;
		this.startDate = startDate;
		this.endDate = endDate;
	}

	public String getComputerName() {
		return computerName.replaceAll( "-", "." );
	}
	public void setComputerName(String computerName) {
		this.computerName = computerName.replaceAll( "\\.", "-" );
	}
	public String getStartDate() {
		return startDate;
	}
	public void setStartDate(String startDate) {
		this.startDate = startDate;
	}
	public String getEndDate() {
		return endDate;
	}
	public void setEndDate(String endDate) {
		this.endDate = endDate;
	}
}
